home *** CD-ROM | disk | FTP | other *** search
/ Network Support Library / RoseWare - Network Support Library.iso / apidev / mhs_c.arc / OUTPOST.ARC / CCTYPES.H next >
C/C++ Source or Header  |  1988-06-27  |  1KB  |  50 lines

  1. #include "stdio.h"
  2. #include "fcntl.h"
  3. #include "ndt.h"
  4.  
  5. #define NEXT_STATEMENT -2
  6. #define BADCOMMAND    -1
  7. #define NO_ERROR    0    /* for GetParameter call */
  8. #define ERROR_ENCOUNTERED    -1
  9. #define USE_CURRENT_DEFAULT_VALUE    -2
  10. #define FATAL_ERROR_ENCOUNTERED    -3
  11.  
  12. #define MESSAGE_SIZE 8192
  13.  
  14. /* command types of SMF portion of XRBoxOut file */
  15. #define NOTHING    0
  16. #define DATE 1
  17. #define FROM 2
  18. #define TO 3
  19. #define MESSAGE_ID 4
  20. #define CONVERSATION_ID 5
  21. #define VIA_HOST 6
  22. #define SUBJECT 7
  23. #define MESSAGE_TYPE 8
  24. #define COPIES_TO 9
  25. #define RE_SENT_BY 10
  26. #define RESPOND_BY 11
  27. #define POSSIBILITY 12
  28. #define ACTION 13
  29. #define RET_MESSAGE 14
  30. #define IN_REPLY_TO 15
  31. #define FORM 16
  32. #define DOMAIN 17
  33. #define COMPLETE_BY 18
  34. #define NEW_COMPLETE_BY 19
  35. #define ATTACHMENT 20
  36. #define NET_ATTACHMENT 21
  37.  
  38. #define UNKNOWN            0
  39. #define SYNTAX            1
  40. #define CANNOT_OPEN_FILE    2
  41. #define CANNOT_CREATE_OUTPUT    3
  42.  
  43. extern char *ErrorTypes[];
  44. extern char *CommandTypes[];
  45.  
  46. typedef struct {
  47.     char t[20];
  48. } XRB;
  49.  
  50.